package com.miyake.dsp.fitting;

public class FittingSetting {
	private int start;
	private int stop;
	private int point;
	private int maskStart = -1;
	private int maskStop = -1;
	private String formula;
	private double bottomLimit = Double.MIN_VALUE;
	private Double[] initial = new Double[10];
	private double[] xdata;
	
	public FittingSetting() {
		
	}
	
	public FittingSetting(String formula, int start, int stop, int point) {
		this.start = start;
		this.stop = stop;
		this.point = point;
		this.formula = formula;
		for (int i = 0; i < initial.length; i++) {
			this.initial[i] = 1.0;
		}
	}
	
	
	public double[] getXdata() {
		return xdata;
	}

	public void setXdata(double[] xdata) {
		this.xdata = xdata;
	}

	public double getBottomLimit() {
		return bottomLimit;
	}

	public void setBottomLimit(double bottomLimit) {
		this.bottomLimit = bottomLimit;
	}

	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getStop() {
		return stop;
	}
	public void setStop(int stop) {
		this.stop = stop;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public String getFormula() {
		return formula;
	}
	public void setFormula(String formula) {
		this.formula = formula;
	}
	public Double[] getInitial() {
		return initial;
	}
	public void setInitial(Double[] initial) {
		this.initial = initial;
	}
	public int getMaskStart() {
		return maskStart;
	}
	public void setMaskStart(int maskStart) {
		this.maskStart = maskStart;
	}
	public int getMaskStop() {
		return maskStop;
	}
	public void setMaskStop(int maskStop) {
		this.maskStop = maskStop;
	}
	
	
}
